package com.wise.model.content.enums;

import com.wise.framework.basic.IEnum;

public enum RegionLevel implements IEnum<Integer> {
    /**
     * Continent  10   大洲
     * country    20   国家
     * province   30   省
     * City       40   市
     */
    CONTINENT(10, "大洲"),
    COUNTRY(20, "国家"),
    PROVINCE(30, "省"),
    CITY(40, "市");

    private Integer level;
    private String title;

    RegionLevel(Integer level, String title) {
        this.level = level;
        this.title = title;
    }

    @Override
    public Integer value() {
        return level;
    }

    @Override
    public String title() {
        return title;
    }
}
